﻿ALTER TABLE [User] ADD CONSTRAINT uc_LoginName UNIQUE(LoginName)
GO
ALTER TABLE [Role] ADD CONSTRAINT uc_Name UNIQUE([Name])
GO